#!/usr/bin/env node

import { startHttpServer } from '@/lib/mcp-http-server';

// Get port from environment or use default
const port = process.env.MCP_PORT ? parseInt(process.env.MCP_PORT) : 3001;

// Start the MCP HTTP server
startHttpServer(port).catch((error) => {
  console.error('Failed to start MCP HTTP server:', error);
  process.exit(1);
});